<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="ReflectionView,org.papervision3d.core.effects.view.ReflectionView,cameraReflection,surfaceHeight,viewportReflection,autoScaleToStage,onAddedToStage,onRemovedFromStage,setReflectionColor,singleRender" name="keywords">
<title>org.papervision3d.core.effects.view.ReflectionView</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'ReflectionView - Papervision3D 官方文档';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Papervision3D 官方文档</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">全部包</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">全部类</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">引索</a>&nbsp;|&nbsp;<a href="../../../../../index.html?org/papervision3d/core/effects/view/ReflectionView.html&amp;org/papervision3d/core/effects/view/class-list.html" id="framesLink1">框架</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">无框架</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">类&nbsp;ReflectionView</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">属性</a>&nbsp;| <a href="#methodSummary">方法</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("类 ReflectionView"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">包</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.papervision3d.core.effects.view</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">类</td><td class="classSignature">public class ReflectionView</td>
</tr>
<tr>
<td class="classHeaderTableLabel">继承</td><td class="inheritanceList">ReflectionView <img class="inheritArrow" alt="继承" title="继承" src="../../../../../images/inherit-arrow.gif"> <a href="../../../view/BasicView.html">BasicView</a> <img class="inheritArrow" alt="继承" title="继承" src="../../../../../images/inherit-arrow.gif"> <a href="../../../view/AbstractView.html">AbstractView</a> <img class="inheritArrow" alt="继承" title="继承" src="../../../../../images/inherit-arrow.gif"> flash.display.Sprite</td>
</tr>
</table>
<p>反射视图</p>
<p></p>
<p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共属性</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> 隐藏继承的公共属性</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> 显示继承的公共属性</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoScaleToStage">autoScaleToStage</a> : Boolean<div class="summaryTableDescription">
  <p>[只写]
    We need  to move the reflection view whenever the stage is resized so we have to implement
    the same functionality as the Viewport3D, ie we add a stage resize listener (once we're on the stage).</p>
  <p><strong>无论何时舞台尺寸改变我们都必须移动反射视图，因此上，我们必须保证使此类功能和Viewport3D一样，也就是我们必须添加一个舞台尺寸侦听器（一旦身处舞台上）</strong></p>
</div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#camera">camera</a> : <a href="../../proto/CameraObject3D.html">CameraObject3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/BasicView.html#cameraAsCamera3D">cameraAsCamera3D</a> : <a href="../../../cameras/Camera3D.html">Camera3D</a>
<div class="summaryTableDescription">
         Exposes the camera as a <code>Camera3D</code>使此camera作为一个<code>Camera3D对象</code></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/BasicView.html">BasicView</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/BasicView.html#cameraAsDebugCamera3D">cameraAsDebugCamera3D</a> : <a href="../../../cameras/DebugCamera3D.html">DebugCamera3D</a>
<div class="summaryTableDescription">
         Exposes the camera as a <code>DebugCamera3D</code>
         使此camera作为一个<code>DebugCamera3D</code><code>对象</code></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/BasicView.html">BasicView</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#cameraReflection">cameraReflection</a> : <a href="../../proto/CameraObject3D.html">CameraObject3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#renderer">renderer</a> : <a href="../../../render/BasicRenderEngine.html">BasicRenderEngine</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#scene">scene</a> : <a href="../../../scenes/Scene3D.html">Scene3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#surfaceHeight">surfaceHeight</a> : Number = 0<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#viewport">viewport</a> : <a href="../../../view/Viewport3D.html">Viewport3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#viewportHeight">viewportHeight</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#viewportReflection">viewportReflection</a> : <a href="../../../view/Viewport3D.html">Viewport3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#viewportWidth">viewportWidth</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
</table>
</div>
<a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">保护属性</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedProperty" id="hideInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(false,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> 隐藏继承的保护属性</a>
</div>
<div class="showInheritedProtectedProperty" id="showInheritedProtectedProperty">
<a onclick="javascript:setInheritedVisible(true,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> 显示继承的保护属性</a>
</div>
</div>
<table id="summaryTableProtectedProperty" class="summaryTable hideInheritedProtectedProperty" cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#_camera">_camera</a> : <a href="../../proto/CameraObject3D.html">CameraObject3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#_height">_height</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="hideInheritedProtectedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="../../../view/AbstractView.html#_width">_width</a> : Number<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共方法</div>
<div class="showHideLinks">
<div class="hideInheritedMethod" id="hideInheritedMethod">
<a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> 隐藏继承的公共方法</a>
</div>
<div class="showInheritedMethod" id="showInheritedMethod">
<a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> 显示继承的公共方法</a>
</div>
</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#ReflectionView()">ReflectionView</a>(viewportWidth:Number = 640, viewportHeight:Number = 320, scaleToStage:Boolean = true, interactive:Boolean = false, cameraType:String = "Target")</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setReflectionColor()">setReflectionColor</a>(redMultiplier:Number = 0, greenMultiplier:Number = 0, blueMultiplier:Number = 0, redOffset:Number = 0, greenOffset:Number = 0, blueOffset:Number = 0):void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#singleRender()">singleRender</a>():void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../../../view/AbstractView.html#startRendering()">startRendering</a>():void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../../../view/AbstractView.html#stopRendering()">stopRendering</a>(reRender:Boolean = false, cacheAsBitmap:Boolean = false):void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
</table>
</div>
<a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">保护方法</div>
<div class="showHideLinks">
<div class="hideInheritedProtectedMethod" id="hideInheritedProtectedMethod">
<a onclick="javascript:setInheritedVisible(false,'ProtectedMethod');" href="#protectedMethodSummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> 隐藏继承的保护方法</a>
</div>
<div class="showInheritedProtectedMethod" id="showInheritedProtectedMethod">
<a onclick="javascript:setInheritedVisible(true,'ProtectedMethod');" href="#protectedMethodSummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> 显示继承的保护方法</a>
</div>
</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#onAddedToStage()">onAddedToStage</a>(event:Event):void</div>
<div class="summaryTableDescription">
   Triggered when added to the stage to start listening to stage resizing
     <strong>当添加到舞台上时触发，用于侦听舞台尺寸改变</strong></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#onRemovedFromStage()">onRemovedFromStage</a>(event:Event):void</div>
<div class="summaryTableDescription">
   Triggered when removed from the stage to remove the stage resizing listener
     <strong>从舞台上删除时触发，用于删除舞台尺寸改变侦听器</strong></div>
</td><td class="summaryTableOwnerCol">ReflectionView</td>
</tr>
<tr class="hideInheritedProtectedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="../../../view/AbstractView.html#onRenderTick()">onRenderTick</a>(event:Event = null):void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="../../../view/AbstractView.html">AbstractView</a></td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">属性详细信息</div>
<a name="autoScaleToStage"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoScaleToStage</td><td class="detailHeaderType">属性</td>
</tr>
</table>
<div class="detailBody">
<code>autoScaleToStage:Boolean</code>&nbsp;&nbsp;[只写]<p>
   We need  to move the reflection view whenever the stage is resized so we have to implement
   the same functionality as the Viewport3D, ie we add a stage resize listener (once we're on the stage). 
   </p>
<p><strong>无论何时舞台尺寸改变我们都必须移动反射视图，因此上，我们必须保证使此类功能和Viewport3D一样，也就是我们必须添加一个舞台尺寸侦听器（一旦身处舞台上）</strong></p>
<span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set autoScaleToStage(value:Boolean):void</code>
<br>
</div>
<a name="cameraReflection"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">cameraReflection</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var cameraReflection:<a href="../../proto/CameraObject3D.html">CameraObject3D</a></code>
</div>
<a name="surfaceHeight"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">surfaceHeight</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var surfaceHeight:Number = 0</code>
</div>
<a name="viewportReflection"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">viewportReflection</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var viewportReflection:<a href="../../../view/Viewport3D.html">Viewport3D</a></code>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">构造函数详细信息</div>
<a name="ReflectionView()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ReflectionView</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">构造函数</td>
</tr>
</table>
<div class="detailBody">
<code>public function ReflectionView(viewportWidth:Number = 640, viewportHeight:Number = 320, scaleToStage:Boolean = true, interactive:Boolean = false, cameraType:String = "Target")</code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">viewportWidth</span>:Number</code> (default = <code>640</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">viewportHeight</span>:Number</code> (default = <code>320</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">scaleToStage</span>:Boolean</code> (default = <code>true</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">interactive</span>:Boolean</code> (default = <code>false</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">cameraType</span>:String</code> (default = "<code>Target</code>")<code></code></td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">方法详细信息</div>
<a name="onAddedToStage()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onAddedToStage</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td>
</tr>
</table>
<div class="detailBody">
<code>protected function onAddedToStage(event:Event):void</code><p>
   Triggered when added to the stage to start listening to stage resizing
     <span class="summaryTableDescription"><strong>当添加到舞台上时触发，用于侦听舞台尺寸改变</strong></span></p>
<span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">event</span>:Event</code></td>
</tr>
</table>
</div>
<a name="onRemovedFromStage()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onRemovedFromStage</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function onRemovedFromStage(event:Event):void</code><p>
   Triggered when removed from the stage to remove the stage resizing listener
     <span class="summaryTableDescription"><strong>从舞台上删除时触发，用于删除舞台尺寸改变侦听器</strong></span></p>
<span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">event</span>:Event</code></td>
</tr>
</table>
</div>
<a name="setReflectionColor()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setReflectionColor</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setReflectionColor(redMultiplier:Number = 0, greenMultiplier:Number = 0, blueMultiplier:Number = 0, redOffset:Number = 0, greenOffset:Number = 0, blueOffset:Number = 0):void</code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">redMultiplier</span>:Number</code> (default = <code>0</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">greenMultiplier</span>:Number</code> (default = <code>0</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">blueMultiplier</span>:Number</code> (default = <code>0</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">redOffset</span>:Number</code> (default = <code>0</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">greenOffset</span>:Number</code> (default = <code>0</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">blueOffset</span>:Number</code> (default = <code>0</code>)<code></code></td>
</tr>
</table>
</div>
<a name="singleRender()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">singleRender</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function singleRender():void</code>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://blog.papervision3d.org</center>
</div>
</body>
</html>
<!--http://blog.papervision3d.org-->
